package ooday02;

public class OverrideTest {
	public static void main(String[] args) {
		Student zg = new Student("张光",23,"廊坊","jsd2507","001");
		zg.sayHi();
		Teacher ll = new Teacher("李林",35,"佳木斯",6000.0);
		ll.sayHi();
		Doctor zl = new Doctor("赵亮", 45, "山东", "主任医师");
		zl.sayHi();
	}
}
